package com.kgd.news.utils.quartz;

import com.kgd.news.controller.IndexController;
import com.kgd.news.wxpay.util.RedPacketSplitUtil;
import org.apache.log4j.Logger;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.util.Date;

public class CheckSplitHbOutTime implements Job {
    private static Logger log = Logger.getLogger(CheckSplitHbOutTime.class);

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println("CheckSplitHbOutTime " + new Date());
//        com.kgd.news.utils.quartz.CheckSplitHbOutTime
        log.error("CheckSplitHbOutTime " + new Date());
        RedPacketSplitUtil.checkSplitCashOutOfTime();
    }
}
